package com.infocollect.framework.security;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.infocollect.project.system.domain.SysUser;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;

import java.util.Collection;
import java.util.Set;

/**
 * 登录用户身份权限
 * 
 * @author dongpj
 */
public class ClientUser
{
    private static final long serialVersionUID = 1L;

    /**
     * 用户唯一标识
     */
    private String userId;

    /**
     * 登陆时间
     */
    private String userName;



    public ClientUser()
    {
    }

    public void setUsername(String userName)
    {
        this.userName = userName;
    }
    public String getUsername()
    {
        return this.userName;
    }

    public void setUserId(String userId)
    {
        this.userId = userId;
    }
    public String getUserId()
    {
        return this.userId;
    }


}
